package com.example.demo.entity;


import java.util.List;

public class Category {

  private Long cid;
  private String cname;
  private String cimg;
  private Long isshow;

  private java.util.Date createTime;
  private String createBy;
  private java.util.Date updateTime;
  private String updateBy;
  private List<Goods> goodsList;
  public List<Goods> getGoodsList(){return goodsList;}
  public  void setGoodsList(List<Goods> goodsList){this.goodsList=goodsList;}

  @Override
  public String toString() {
    return "Category{" +
            "cid=" + cid +
            ", cname='" + cname + '\'' +
            ", cimg='" + cimg + '\'' +
            ", isshow=" + isshow +
            ", createTime=" + createTime +
            ", createBy='" + createBy + '\'' +
            ", updateTime=" + updateTime +
            ", updateBy='" + updateBy + '\'' +
            '}';
  }

  public Long getCid() {
    return cid;
  }

  public void setCid(Long cid) {
    this.cid = cid;
  }


  public String getCname() {
    return cname;
  }

  public void setCname(String cname) {
    this.cname = cname;
  }


  public String getCimg() {
    return cimg;
  }

  public void setCimg(String cimg) {
    this.cimg = cimg;
  }


  public Long getIsshow() {
    return isshow;
  }

  public void setIsshow(Long isshow) {
    this.isshow = isshow;
  }


  public java.util.Date getCreateTime() {
    return createTime;
  }

  public void setCreateTime(java.util.Date createTime) {
    this.createTime = createTime;
  }


  public String getCreateBy() {
    return createBy;
  }

  public void setCreateBy(String createBy) {
    this.createBy = createBy;
  }


  public java.util.Date getUpdateTime() {
    return updateTime;
  }

  public void setUpdateTime(java.util.Date updateTime) {
    this.updateTime = updateTime;
  }


  public String getUpdateBy() {
    return updateBy;
  }

  public void setUpdateBy(String updateBy) {
    this.updateBy = updateBy;
  }

}
